9c136df4b963c000ebbfbf7e8459e4629d3bfe7d,gdx/src/com/badlogic/gdx/graphics/g3d/shaders/GLES10Shader.java,GLES10Shader,render,#Renderable#,125
Before Change
} else if (attribute.type == TextureAttribute.Diffuse) {
if (currentTexture0 != ((TextureAttribute)attribute).textureDescription.texture)
(currentTexture0 = ((TextureAttribute)attribute).textureDescription.texture).bind(0);
Gdx.gl10.glEnable(GL10.GL_TEXTURE_2D);
}
else if ((attribute.type & IntAttribute.CullFace) == IntAttribute.CullFace)
cullFace = ((IntAttribute)attribute).value;
After Change
Gdx.gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, textureDesc.magFilter);
Gdx.gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_S, textureDesc.uWrap);
Gdx.gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_WRAP_T, textureDesc.vWrap);
Gdx.gl10.glEnable(GL10.GL_TEXTURE_2D);
}
else if ((attribute.type & IntAttribute.CullFace) == IntAttribute.CullFace)
cullFace = ((IntAttribute)attribute).value;